package com.example.mapper;

import com.example.bean.Department;
import com.example.bean.Employee;
import com.example.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author YYD
 * @since 2025/9/12
 */
public interface EmployeeMapper {
    List<Employee> getALLEmp();
    Employee getEmpAndDept(@Param("id") int id);
    Employee getEmpAndDeptByStepOne(@Param("id") int id);
    Department getEmpAndDeptByStepTwo(@Param("id") int id);
     List<Department> getDeptAndEmp(@Param("id") int id);
//     List<Employee> getEmpByCondition(Employee employee);
    List<Employee> getEmpByCondition(Employee emplotee);

    int deleteMoreByArray(@Param("ids") int[] ids);

}
